package com.hgxd.entity.res;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author wtf
 * @create 2023-11-01 16:08
 * @description :
 */
@Data
@ApiModel(value = "ResYOYAnalysis对象",description = "向前端返回同比数据分析类")
@NoArgsConstructor
@AllArgsConstructor
public class ResYOYAnalysis {

    @ApiModelProperty("月份")
    private Integer month;

    @ApiModelProperty("当前年能耗")
    private Double nowYearConsumption;

    @ApiModelProperty("前一年能耗")
    private Double lastYearConsumption;

    @ApiModelProperty("同比")
    private Double YOY;

    @ApiModelProperty("累计同比")
    private Double accumulatedYOY;


}
